package com.hao.wms.dao;

import com.hao.wms.domain.Role;
import com.hao.wms.domain.SystemMenu;

import java.util.List;

public interface ISystemMenuDao extends IGenericDao<SystemMenu>{


    List<SystemMenu> queryChildrenMenus();

    List<SystemMenu> queryMenusBySn(String parentSn);

    List<SystemMenu> queryMenusBySnAndRole(String parentSn, List<Role> roles);
}
